-- GENERATED SPELL FOR [Ethereum Smuggler] --


function spell0_24698(pUnit, Event) --@Arcane Explosion,Self--
pUnit:FullCastSpellOnTarget(44538,pUnit)
pUnit:RegisterEvent('Sorts_24698', 600, 1)
end

function Sorts_24698(pUnit, Event)
local choix_sorts_24698 = math.random(0, 0)
if choix_sorts_24698 == 0 then
pUnit:RegisterEvent('spell0_24698', 1, 1)
end
end

function mob24698_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_24698', math.random(1500, 3000), 1)
end

function mob24698_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24698_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob24698_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(24698, 1, 'mob24698_Action')
RegisterUnitEvent(24698, 2, 'mob24698_Leave')
RegisterUnitEvent(24698, 3, 'mob24698_Kill')
RegisterUnitEvent(24698, 4, 'mob24698_Die')
